package com.app.designpattern.structural.adapter.simple;

import android.util.Log;

/**
 * USER: zjw
 * DATA: 2019/4/15 0015
 * TIME: 下午 5:28
 */
public class Adapter3 implements DC5 {
    private AC220 ac220 = new AC220();
    @Override
    public void dc5() {
        int ac220 = this.ac220.AC220();
        //进行转换
        int dc5 = ac220/44;
        Log.i("adapter-adapter3","我把220v的电流转换成了5v的电流");
    }
}
